package com.woniuxy.demo.epai.service.impl;

import com.woniuxy.demo.epai.model.Wallet;
import com.woniuxy.demo.epai.dao.WalletMapper;
import com.woniuxy.demo.epai.service.IWalletService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户钱包 服务实现类
 * </p>
 *
 * @author epai
 * @since 2021-04-12
 */
@Service
public class WalletServiceImpl extends ServiceImpl<WalletMapper, Wallet> implements IWalletService {
    @Autowired
    private WalletMapper walletMapper;
    @Override
    public Wallet getWalletById(Integer id) {
        return walletMapper.selectById(id);
    }
}
